<template>
    <h1>{{ title }}</h1>
    <button @click="title = 'Hello Vue 3' ">Click me</button>
    <button @click="btnclick()">中文</button>
</template>
<script setup>
    import { ref } from 'vue'
    const title = ref('Welcome to study Vue 3')

    const btnclick = () => {
        title.value = '欢迎学习Vue 3'
    }
</script>
<style>

</style>